package cn.lbaicai.entity;

public class User {
    private Integer id;

    private String nick;

    private String username;

    private String password;

    private String salt;

    private String created;

    private String phone;

    private Boolean delFlage;

    private Boolean noLogin;

    private Boolean agreement;

    private String modify;
    
    private String[] roles;
    
	public String[] getRoles() {
		return roles;
	}

	public void setRoles(String[] roles) {
		this.roles = roles;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNick() {
        return nick;
    }

    public void setNick(String nick) {
        this.nick = nick;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getCreated() {
        return created;
    }

    public void setCreated(String created) {
        this.created = created;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getDelFlage() {
        return delFlage;
    }

    public void setDelFlage(Boolean delFlage) {
        this.delFlage = delFlage;
    }

    public Boolean getNoLogin() {
        return noLogin;
    }

    public void setNoLogin(Boolean noLogin) {
        this.noLogin = noLogin;
    }

    public Boolean getAgreement() {
        return agreement;
    }

    public void setAgreement(Boolean agreement) {
        this.agreement = agreement;
    }

    public String getModify() {
        return modify;
    }

    public void setModify(String modify) {
        this.modify = modify;
    }
    //证书凭证
    public String getCredentialsSalt() {
        return username + salt;
    }
}